package com.mazaiting.rabbitmq.config;

import com.mazaiting.rabbitmq.domain.info.RabbitModuleInfo;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * MQ 模块配置信息
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "rabbitmq")
public class RabbitModuleProperties {

    /**
     * 模块信息
     */
    private List<RabbitModuleInfo> modules;

}
